import React from 'react'
import { useRouteMatch, useLocation, useParams, useHistory} from 'react-router-dom'
function Home() {
  console.log('routHistory', useHistory())
  console.log('routeLocation', useLocation())
  console.log('routeMatch', useRouteMatch())
  console.log('routerParams', useParams())
  return <div>
    home
  </div>
}

export default Home